package com.shorturl.pojo;

public class Url {
    private Long id;

    private String url;

    private String shorturl;

    public Url(Long id, String url, String shorturl) {
        this.id = id;
        this.url = url;
        this.shorturl = shorturl;
    }

    public Url() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getShorturl() {
        return shorturl;
    }

    public void setShorturl(String shorturl) {
        this.shorturl = shorturl == null ? null : shorturl.trim();
    }
}